﻿using System;

namespace YArchitech.Plumbing
{
	public class ValveAndFitting
	{
		public ValveAndFitting()
		{
		}

		public ValveAndFitting(ValveAndFitting valveAndFitting)
		{
			this.vFName = valveAndFitting.vFName;
			this.value = valveAndFitting.value;
		}

		public ValveAndFitting(string name, double value)
		{
			this.vFName = name;
			this.value = value;
		}

		public string VFName
		{
			get
			{
				return this.vFName;
			}
			set
			{
				this.vFName = value;
			}
		}

		public double Value
		{
			get
			{
				return this.value;
			}
			set
			{
				this.value = value;
			}
		}

		private string vFName;

		private double value;
	}
}
